package com.dj.dormitory.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author DJ同学
 * @since 2021-01-24
 * 年级表的处理
 *  id==name 避免后续连接表的时候出现比较多的问题
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_grade")
public class Grade implements Serializable {

    private static final long serialVersionUID = 1L;
    //不设置成自动增长id
    private Integer id;

    private String name;


}
